.personal-card-navbar {
  --nav-bar-icon-color: #555;
}

page {
  background: #f7f8fa;
}

.personal-card {
  background: #f7f8fa;
  padding: 32rpx;
  padding-top: calc(env(safe-area-inset-top) + 160rpx);

  .main {
    background-color: #fff;
    border-radius: 20px;
    padding: 32rpx;
  }

  .header {
    border-radius: 16rpx;
  }

  .avatar-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 32rpx;
  }

  .avatar {
    width: 120rpx;
    height: 120rpx;
    border-radius: 60rpx;
    margin-right: 24rpx;
  }

  .info {
    flex: 1;
    color: #adb5bd;
  }

  .name-row {
    margin-bottom: 16rpx;
  }

  .name {
    font-size: 36px;
    font-weight: bold;
    margin-right: 16px;
    color: #000;
  }

  .title {
    font-size: 24rpx;
  }

  .rating {
    display: flex;
    flex-direction: row;
    align-items: center;

    .label {
      font-size: 24rpx;
      margin-right: 16rpx;
    }

    .stars {
      display: flex;
    }
  }

  .contact-info {
    margin-bottom: 40px;
  }

  .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20rpx;
    font-size: 26rpx;

    .iconfont {
      font-size: 20px;
      color: #6799a6;
      margin-right: 10px;
    }

    .text {
      color: #adb5bd;
    }
  }

  .exp-list {
    margin-bottom: 40px;
  }

  .exp-item {
    display: flex;
    flex-direction: row;
    color: #b0b8c0;
    font-size: 26rpx;
    margin-bottom: 20rpx;

    .label {
      margin-right: 10px;
    }
  }

  .qr-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;

    .qr-code {
      width: 112px;
      height: 112px;
    }

    .action-buttons {
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .btn {
        display: flex;
        height: 48px;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-radius: 12rpx;
        font-size: 36rpx;
      }

      .btn.primary {
        background: #058aff;
        color: #fff;
      }

      .btn.secondary {
        background: #fff;
        color: #058aff;
        border: 2rpx solid #058aff;
      }
    }
  }

  .cert-section {
    background: #fff;
    margin-top: 30px;

    .section-title {
      font-size: 32rpx;
      font-weight: 500;
      margin-bottom: 24rpx;
    }

    .scroll-view {
      width: 100%;
      height: 120px;
    }

    .cert-list {
      display: flex;
      gap: 24rpx;

      .img {
        height: 120px;
        width: auto;
        display: inline-flex;
        flex-shrink: 0;
      }
    }
  }
}
